package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * 现金礼包购买日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_trigger_rmb_mall_buy", desc = "现金礼包购买日志", autoSave = true, uploadCk = true)
public class LogTriggerRMBMallBuy extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(desc = "conditionId")
    private int conditionId;
    @FieldTypeAnnotation(desc = "类型")
    private int type;
    @FieldTypeAnnotation(desc = "商品id")
    private int mallId;
    @FieldTypeAnnotation(desc = "价格")
    private long price;

    public LogTriggerRMBMallBuy(long userId, int activityId, int conditionId, int type, int mallId, long price) {
        this.userId = userId;
        this.activityId = activityId;
        this.conditionId = conditionId;
        this.type = type;
        this.mallId = mallId;
        this.price = price;
    }

    public long getUserId() {
        return userId;
    }

}
